package com.home.cop.sysinfo.mapper;

import com.home.cop.sysinfo.model.Region;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RegionMapper {
    int deleteByPrimaryKey(String regionId);

    int insert(Region record);

    int insertSelective(Region record);

    Region selectByPrimaryKey(String regionId);

    int updateByPrimaryKeySelective(Region record);

    int updateByPrimaryKey(Region record);

    public List<Region> list(@Param("code")String code);

    public List<Region> getAllRegions();
}